package com.keshettv.kem;

import java.io.Serializable;

import org.apache.commons.httpclient.Header;

public class CachedContent implements Serializable {
	private static final long serialVersionUID = 1161480710381980788L;
	private int _metaStatus;
	private int _statusCode;
	private Header[] _headers;
	private byte[] _body;

	public CachedContent(Header[] headers, byte[] body, int responseCode) {
		this(headers, body, responseCode, 0);
	}

	public CachedContent(Header[] headers, byte[] body, int responseCode, int metaStatus) {
		_headers = headers;
		_body = body;
		_statusCode = responseCode;
		_metaStatus = metaStatus;
	}

	Header[] getHeaders() {
		return _headers;
	}

	byte[] getBody() {
		return _body;
	}

	int getStatusCode() {
		return _statusCode;
	}

	int getMetaStatus() {
		return _metaStatus;
	}
}